Constructor & Destructor Documentation
| __construct |
( |
$ |
name, |
|
|
$ |
permissions = null |
|
) |
| |
Member Function Documentation
| static getChildName |
( |
$ |
name, |
|
|
$ |
ownName |
|
) |
| [static, protected] |
helper method to calculate the child name
- Parameters:
-
| string | $name | |
| string | $ownName | |
- Returns:
- string
returns a list of children for this directory
- Returns:
- array<vfsStreamContent>
Implements vfsStreamContainer.
| getDefaultPermissions |
( |
) |
[protected] |
returns default permissions for concrete implementation
- Returns:
- int
- Since:
- 0.8.0
Reimplemented from vfsStreamAbstractContent.
| getRealChildName |
( |
$ |
name ) |
[protected] |
helper method to detect the real child name
- Parameters:
-
- Returns:
- string
checks whether the container contains a child with the given name
- Parameters:
-
- Returns:
- bool
Implements vfsStreamContainer.
returns size of directory
The size of a directory is always 0 bytes. To calculate the summarized size of all children in the directory use sizeSummarized().
- Returns:
- int
Implements vfsStreamContent.
returns summarized size of directory and its children
- Returns:
- int
The documentation for this class was generated from the following file:
- /Applications/XAMPP/xamppfiles/lib/php/pear/vfsStream/vfsStreamDirectory.php